package penguin.masking;

import java.sql.ResultSet;

/**
 * @author wuxh
 * @version 1.0.0
 */
public interface DataMaskingProcess {

    public void init(WordManager wordManager);

    public <M> M doMasking(ResultSet set, Object columnName, M v);

    public <R> R doReduction(R v);

    /**
     * 判断字符串是否已脱敏过
     *
     * @param v
     * @return
     */
    public <R> boolean isMasking(R v);
}
